package com.xh.bussiness.system.service.impl;

import com.xh.bussiness.system.dao.IconSubjectMapper;
import com.xh.bussiness.system.model.IconSubject;
import com.xh.bussiness.system.service.IIconSubjectService;
import com.xh.core.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: 赵文博
 * @date: 2021/6/25
 */
@Service
public class IconSubjectServiceImpl extends BaseServiceImpl<IconSubjectMapper, IconSubject> implements IIconSubjectService {

    @Override
    public List<String> queryIconIdBySubject(String subject) {
        return this.dao.queryIconIdBySubject(subject);
    }

    @Override
    public List<IconSubject> querySubjectNamesByIconId(String iconId) {
        return this.dao.querySubjectNamesByIconId(iconId);
    }
}
